﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Activities;
using System.Activities.Statements;
namespace NIP.Speech
{
    public class Manager
    {

        public NIP.Speech.Recognizer RecoObject { set; get; }
        public Dialog.Responder dialogManager { set; get; }
        public Manager()
        {
            //RecoObject = new NIP.Speech.Reco.MSRReco();
            RecoObject = new NIP.Speech.Recognizer();
            dialogManager = new NIP.Speech.Dialog.Responder();
            RecoObject.CommandRecognized += new EventHandler<EventArgs.CommandRecognizedEventArgs>(dialogManager.RecoObject_CommandRecognized);
            RecoObject.CommandRecognized_Dictionary += new EventHandler<EventArgs.CommandRecognized_Dictionary_EventArgs>(dialogManager.RecoObject_CommandRecognized_Dictionary);
            dialogManager.StateInitiated +=new EventHandler<System.EventArgs>(RecoObject.StateInitiated_Handler);
            dialogManager.StateCompleted += new EventHandler<System.EventArgs>(RecoObject.StateCompleted_Handler);
        }


    }

}
